type regexp/syntax.parser
35 uses
regexp/syntax (current package)
parse.go#L126: type parser struct {
parse.go#L140: func (p *parser) newRegexp(op Op) *Regexp {
parse.go#L153: func (p *parser) reuse(re *Regexp) {
parse.go#L161: func (p *parser) checkLimits(re *Regexp) {
parse.go#L169: func (p *parser) checkSize(re *Regexp) {
parse.go#L211: func (p *parser) calcSize(re *Regexp, force bool) int64 {
parse.go#L259: func (p *parser) checkHeight(re *Regexp) {
parse.go#L274: func (p *parser) calcHeight(re *Regexp, force bool) int {
parse.go#L294: func (p *parser) push(re *Regexp) *Regexp {
parse.go#L340: func (p *parser) maybeConcat(r rune, flags Flags) bool {
parse.go#L369: func (p *parser) literal(r rune) {
parse.go#L397: func (p *parser) op(op Op) *Regexp {
parse.go#L407: func (p *parser) repeat(op Op, min, max int, before, after, lastRepeat string) (string, error) {
parse.go#L480: func (p *parser) concat() *Regexp {
parse.go#L500: func (p *parser) alternate() *Regexp {
parse.go#L552: func (p *parser) collapse(subs []*Regexp, op Op) *Regexp {
parse.go#L592: func (p *parser) factor(sub []*Regexp) []*Regexp {
parse.go#L781: func (p *parser) leadingString(re *Regexp) ([]rune, Flags) {
parse.go#L793: func (p *parser) removeLeadingString(re *Regexp, n int) *Regexp {
parse.go#L830: func (p *parser) leadingRegexp(re *Regexp) *Regexp {
parse.go#L847: func (p *parser) removeLeadingRegexp(re *Regexp, reuse bool) *Regexp {
parse.go#L918: p parser
parse.go#L1107: func (p *parser) parseRepeat(s string) (min, max int, rest string, ok bool) {
parse.go#L1146: func (p *parser) parsePerlFlags(s string) (rest string, err error) {
parse.go#L1269: func (p *parser) parseInt(s string) (n int, rest string, ok bool) {
parse.go#L1326: func (p *parser) parseVerticalBar() error {
parse.go#L1373: func (p *parser) swapVerticalBar() bool {
parse.go#L1409: func (p *parser) parseRightParen() error {
parse.go#L1443: func (p *parser) parseEscape(s string) (r rune, rest string, err error) {
parse.go#L1559: func (p *parser) parseClassChar(s, wholeClass string) (r rune, rest string, err error) {
parse.go#L1581: func (p *parser) parsePerlClassEscape(s string, r []rune) (out []rune, rest string) {
parse.go#L1595: func (p *parser) parseNamedClass(s string, r []rune) (out []rune, rest string, err error) {
parse.go#L1613: func (p *parser) appendGroup(r []rune, g charGroup) []rune {
parse.go#L1658: func (p *parser) parseUnicodeClass(s string, r []rune) (out []rune, rest string, err error) {
parse.go#L1731: func (p *parser) parseClass(s string) (rest string, err error) {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |